package ooday04;

public abstract class Animals {
    String name;
    int age;
    String color;

    Animals(){}
    Animals(String name,int age,String color){
        this.name = name;
        this.age = age;
        this.color = color;
    }
    abstract void eat();
    void drink(){
        System.out.println(name+"正在喝水。");
    }
}

